package entity.sparemanage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import entity.sparemanage.dto.spareLedgerDtos;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class selOneCollectingVo {
    //部门名称
    private String selOneCollecting;
    //入库类型
    private String wareType;
    //入库主题
    private String wareName;
    //采购单号
    private String purchaseOrder;
    //采购人员
    private String purchasePerson;
    //采购人员联系方式
    private String contacts;
    //供应商
    private String supplier;
    //联系方式
    private String contact;
    //入库申请人
    private String applyPerson;
    //入库申请人在部门
    private String departmentName;
    //入库单号
    private String storageNumber;
    //入库日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date storageDate;
    //仓库名称
    private String warehouseName;
    //仓库管理员
    private String warehouseAdmin;
    //归还原因
    private String returnReason;
    //入库人员
    private String storagePerson;
    //备注
    private String remark;
    //入库明细
    private List<spareLedgerDtos> spareList;
}
